/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.positionassets.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.member.entity.Member;
import com.jeeplus.modules.subgoods.entity.SubGoods;

import java.util.Date;

/**
 * 持仓资产Entity
 * @author w
 * @version 2021-03-26
 */
public class PositionRecord extends DataEntity<PositionRecord> {

	private static final long serialVersionUID = 1L;

	/**
	 * 商品名
	 */
	private String name;
	/**
	 * 持仓数量
	 */
	private Integer num;
	/**
	 * 市值
	 */
	private Double nowTotal;
	/**
	 * 现价
	 */
	private	Double nowPrice;
	/**
	 * 成本
	 */
	private Double price;
	/**
	 * 涨幅价格
	 */
	private Double upPrice;
	/**
	 * 涨幅百分比     涨幅价格/成本
	 */
	private Double upPercent;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Double getNowTotal() {
		return nowTotal;
	}

	public void setNowTotal(Double nowTotal) {
		this.nowTotal = nowTotal;
	}

	public Double getNowPrice() {
		return nowPrice;
	}

	public void setNowPrice(Double nowPrice) {
		this.nowPrice = nowPrice;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getUpPrice() {
		return upPrice;
	}

	public void setUpPrice(Double upPrice) {
		this.upPrice = upPrice;
	}

	public Double getUpPercent() {
		return upPercent;
	}

	public void setUpPercent(Double upPercent) {
		this.upPercent = upPercent;
	}
}